using System;

namespace Weever.Json.Serialization
{
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
    public class JsonNameAttribute: Attribute
    {
        private string _name;

        public string Name
        {
            get { return _name; }
        }

        public JsonNameAttribute(string name)
        {
            _name = name;
        }
    }
}
